<%--
  Created by IntelliJ IDEA.
  User: lt
  Date: 2017/5/9
  Time: 14:48
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!--_meta 作为公共模版分离出去-->
<!DOCTYPE HTML>
<html>
<head>

    <title>新增版本</title>
    <%@ include file="/common/include-core.jsp" %>
</head>
<body>
<article class="page-container">
    <form action="" method="post" class="form form-horizontal" id="form-versions-add">
        <div class="row cl">
            <label class="form-label col-xs-4 col-sm-3"></label>
            <div class="formControls col-xs-8 col-sm-9">
                <input type="hidden" class="input-text" value="${versions.tid}" placeholder="" id="tid" name="tid">
            </div>
        </div>
        <div class="row cl">
            <label class="form-label col-xs-4 col-sm-3">版本号：</label>
            <div class="formControls col-xs-8 col-sm-9">
                <input type="text" class="input-text" value="${versions.versions}" placeholder="" id="versions" name="versions">
            </div>
        </div>
        <div class="row cl">
            <label class="form-label col-xs-4 col-sm-3">下载事项：</label>
            <div class="formControls col-xs-8 col-sm-9">
                <input type="text" class="input-text" value="${versions.releaseNotes}" placeholder="" id="releaseNotes" name="releaseNotes">
            </div>
        </div>
        <div class="row cl">
            <label class="form-label col-xs-4 col-sm-3">下载地址：</label>
            <div class="formControls col-xs-8 col-sm-9">
              <%--  <input type="text" class="input-text" value="${versions.releaseAddress}" placeholder="" id="releaseAddress" name="releaseAddress">--%>
                  <span class="btn-upload form-group">
                    <input class="input-text upload-url" type="text" name="photo" id="photo" readonly nullmsg="请添加图片！"
                           style="width:200px">
                    <a href="javascript:void(0);" class="btn btn-primary radius upload-btn"><i class="Hui-iconfont">&#xe642;</i> 浏览文件</a>
                    <input type="file" multiple name="file" class="input-file">
				</span>
            </div>
        </div>
        <div class="row cl">
            <label class="form-label col-xs-4 col-sm-3">是否强制更新：</label>
            <div class="formControls col-xs-8 col-sm-9">
                <select class="region select radius input-text" name="novatioNecessaria">
                    <option value="1">强制更新</option>
                    <option value="0">不强制更新</option>
                </select>
            </div>
        </div>

        <div class="row cl">
            <div class="col-xs-8 col-sm-9 col-xs-offset-4 col-sm-offset-3" style="position:absolute; height:400px; overflow:auto">
                <button type="button" class="btn btn-success radius" id="versionsAdd" name="versions-save"><i class="icon-ok"></i> 确定</button>
            </div>
        </div>
    </form>
</article>

<script type="text/javascript" src="/static/js/versions/versionsAdd.js"></script>


<!--/请在上方写此页面业务相关的脚本-->
</body>
</html>
